#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "Common/Core.h"
#include "Log/TextEditLog.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
	Q_OBJECT

	Common::Core* _core;
	Log::TextEditLog _log;

public:
	explicit MainWindow(QWidget *parent = 0);
	~MainWindow();

private:
	Ui::MainWindow *ui;

public slots:
	void onBtnSend();
	void onBtnConnect();
	void onBtnDisconnect();
	void onConnected();
};

#endif // MAINWINDOW_H
